package chai.ning.modifier;

public class Lion {
	
	public String name ;
	protected char gender ;
	int age ;
	private boolean married ; // 仅限本类中使用
	
	public void introduce() {
		System.out.println( this.name + " , " + this.gender + " , " + this.age + " , " + this.married );
	}
	
	public static void main(String[] args) {
		
		Lion lion = new Lion();
		
		lion.name = "辛巴" ;
		lion.gender = '男' ;
		lion.age = 5 ;
		lion.married = false ;
		
		lion.introduce();
		
	}

}
